package com.whc.gulimall.ware.vo;

import com.whc.common.valid.AddGroup;
import com.whc.common.valid.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 合并vo
 *
 * @author angaoen
 */
@Data
public class MergeVo {

    /**
     * 采购单id
     */
    private Long purchaseId;

    /**
     * 合并项集合
     */
    @NotEmpty(message = "items不得为空", groups = {AddGroup.class})
    private List<Long> items;
}
